$strPath = Fs.CreateUnique
("<path>")
Dynamically creates and returns a system-generated temporary filename in the specified path.
Parameters
<path> The path where the temporary file should be created.
Return Value
If successful, returns a string representing the newly created temporary filename along with the path, else returns an empty string.
Remarks
- If no path is specified then the .tmp file is created in the active IVR script folder.
- Folders with relative or absolute paths are also acceptable.
Example
$s = "C:\Plugins\fs\"
$ret = fs.CreateUnique ($s)
- $ret contains C:\Plugins\fs\radF6D89.tmp.